import request from "@/utils/request";
const common = {
    is_online: true,
    // 请求图片
    img_url: "https://img.yuepinyuemei.com/",
    getUpload(params) {
        return request({
            url: 'https://adminmping.yuepinyuemei.com/api/upload',
            // url: "https://mpingweb.yuepinyuemei.com/api/upload",
            method: "POST",
            data: params,
            header: {
                "Content-Type": "multipart/form-data" // 默认值
            }
        });
    }
};

export default common;
